<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PyivtbmaterpedViewDlg" widgetVar="PyivtbmaterpedViewDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.ViewPyivtbmaterpedTitle}">

            <h:form id="PyivtbmaterpedViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{pyivtbmaterpedController.selected != null}">

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_pyivtbmaterpedid}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.pyivtbmaterpedid}" title="#{myBundle.ViewPyivtbmaterpedTitle_pyivtbmaterpedid}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_producto}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.producto}" title="#{myBundle.ViewPyivtbmaterpedTitle_producto}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_descripcion}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.descripcion}" title="#{myBundle.ViewPyivtbmaterpedTitle_descripcion}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_cantidad}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.cantidad}" title="#{myBundle.ViewPyivtbmaterpedTitle_cantidad}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_costounitario}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.costounitario}" title="#{myBundle.ViewPyivtbmaterpedTitle_costounitario}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_fecharegistro}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.fecharegistro}" title="#{myBundle.ViewPyivtbmaterpedTitle_fecharegistro}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_pedidonum}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.pedidonum}" title="#{myBundle.ViewPyivtbmaterpedTitle_pedidonum}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_observaciones}"/>
                        <h:outputText value="#{pyivtbmaterpedController.selected.observaciones}" title="#{myBundle.ViewPyivtbmaterpedTitle_observaciones}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmaterpedLabel_pyivtbtrasutilesCollection}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="PyivtbmaterpedViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
